package com.san.base.dao;

import java.util.List;
import java.util.Map;

import org.apache.ibatis.annotations.Mapper;

import com.san.base.domain.CodeDO;
import com.san.base.vo.CodeVO;

/**
 * 数据编码表
 * @author SuperSR
 *
 */
@Mapper
public interface CodeDao extends BaseDao{

	CodeDO getById(Long id);
	
	CodeDO getByName(String codeName);
	
	List<CodeDO> list(Map<String, Object> map);

	int count(Map<String, Object> map);

	int save(CodeVO code);

	int doEdit(CodeVO code);

	int remove(Long id);

	int batchRemove(Long[] ids);
}
